package fudan.se.lab2.controller.request;

import java.util.List;

public class UploadRequest {
    private String user;
    private String meeting;
    private String newFileTitle;
    private String fileAbstract;
    private List<String> topics;
    private List<String> authorNames;
    private List<String> authorAffiliations;
    private List<String> authorRegions;
    private List<String> authorEmails;
    private String fileName;
    private String originalFileTitle;

    public UploadRequest(String user, String meeting, String newFileTitle,
                         String fileAbstract, List<String> topics, List<String> authorNames,
                         List<String> authorAffiliations, List<String> authorRegions, List<String> authorEmails, String fileName) {
        this.user = user;
        this.meeting = meeting;
        this.newFileTitle = newFileTitle;
        this.fileAbstract = fileAbstract;
        this.topics = topics;
        this.authorNames = authorNames;
        this.authorAffiliations = authorAffiliations;
        this.authorRegions = authorRegions;
        this.authorEmails = authorEmails;
        this.fileName = fileName;
    }

    public UploadRequest() {
    }

    @Override
    public String toString() {
        return "UploadRequest{" +
                "user='" + user + '\'' +
                ", meeting='" + meeting + '\'' +
                ", newFileTitle='" + newFileTitle + '\'' +
                ", fileAbstract='" + fileAbstract + '\'' +
                ", topics=" + topics +
                ", authorNames=" + authorNames +
                ", authorAffiliations=" + authorAffiliations +
                ", authorRegions=" + authorRegions +
                ", authorEmails=" + authorEmails +
                ", fileName='" + fileName + '\'' +
                ", originalFileTitle='" + originalFileTitle + '\'' +
                '}';
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getMeeting() {
        return meeting;
    }

    public void setMeeting(String meeting) {
        this.meeting = meeting;
    }

    public String getNewFileTitle() {
        return newFileTitle;
    }

    public void setNewFileTitle(String newFileTitle) {
        this.newFileTitle = newFileTitle;
    }

    public String getFileAbstract() {
        return fileAbstract;
    }

    public void setFileAbstract(String fileAbstract) {
        this.fileAbstract = fileAbstract;
    }

    public List<String> getTopics() {
        return topics;
    }

    public void setTopics(List<String> topics) {
        this.topics = topics;
    }

    public List<String> getAuthorNames() {
        return authorNames;
    }

    public void setAuthorNames(List<String> authorNames) {
        this.authorNames = authorNames;
    }

    public List<String> getAuthorAffiliations() {
        return authorAffiliations;
    }

    public void setAuthorAffiliations(List<String> authorAffiliations) {
        this.authorAffiliations = authorAffiliations;
    }

    public List<String> getAuthorRegions() {
        return authorRegions;
    }

    public void setAuthorRegions(List<String> authorRegions) {
        this.authorRegions = authorRegions;
    }

    public List<String> getAuthorEmails() {
        return authorEmails;
    }

    public void setAuthorEmails(List<String> authorEmails) {
        this.authorEmails = authorEmails;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getOriginalFileTitle() {
        return originalFileTitle;
    }

    public void setOriginalFileTitle(String originalFileTitle) {
        this.originalFileTitle = originalFileTitle;
    }
}
